﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ColorPicker
{
    public partial class FrmCloseUp : Form
    {
        Point point;
        public Image Img
        {
            set
            {
                pic.Image = value;
            }
        }
        public Point MouseLocation
        {
            set
            {
                lbl.Text = String.Format("X:{0}        Y:{1}", value.X - point.X, value.Y - point.Y);
            }
        }
        public Point OriginalPoint
        {
            set
            {
                point = value;
            }
        }
        public FrmCloseUp()
        {
            InitializeComponent();
            this.point = new Point(0, 0);
        }
    }
}
